const { join } = require('path');

const bootstrap = async () => {
    const { runServer } = require('verdaccio')
    const app = await runServer(join(__dirname, 'config.yml'));
    app.listen(4873, '0.0.0.0',(event) => {
        // do something
        console.log(`registry start at http://0.0.0.0:4873`)
    });
}
bootstrap();
